package com.cjb.cloudsystem.service;

import com.cjb.cloudsystem.entity.SysUserToken;
import com.cjb.cloudsystem.vo.SysAccountLoginVO;

/**
 * All rights Reserved, Designed By  chenjinbin
 *
 * @author chenjinbin
 * @Project: fjbd_cjb_bs
 * @Package com.cjb.cloudsystem.service
 * @title SysAuthService
 * @Description
 * @email
 * @date 2023-08-29 16:47
 * @since JDK 1.8
 */
public interface SysAuthService {
    /**
     * 账号密码登录
     *
     * @param login 登录信息
     */
    SysUserToken loginByAccount(SysAccountLoginVO login);
    /**
     * 账号注册
     *
     * @Author chenjinbin
     * @Value
     * @Title
     */
    SysUserToken registerByAccount(SysAccountLoginVO login);
}
